package com.wish.wishsystem_management.mapper;

import com.wish.wishsystem_management.entity.SysDept;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 部门管理 Mapper 接口
 * </p>
 *
 * @author zhaiwj
 * @since 2021-03-22
 */
public interface SysDeptMapper extends BaseMapper<SysDept> {

    List<SysDept> sysDeptListVo();

    List<Long> detpbyIdList(long id);

    SysDept selectByIdVo(Long id);

    List<SysDept> queryList2(@Param("id") Integer id);
    SysDept getDeptByName(@Param("value")String value);

    void save2(SysDept sysDeptEntity);
}
